package com.zhijiaoyun.service;

import java.util.List;
import java.util.Map;

import com.zhijiaoyun.model.Mark;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface IMarkService {

	List<Mark> getByParams(String name);

	Mark getMarkByMarkId(Long markId);

	void modifyMark(Mark mark);

	Mark getMarkByNameNotMarkId(Long markId, String name);

	Map<String, Object> addMark(Mark mark);

	Mark getMarkByName(String name);

	void deleteMark(Mark mark);

}
